<%@ page pageEncoding="utf-8" %>
<% String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/" + request.getRequestURI(); %>
<html>
<head>

    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <script src="${pageContext.request.contextPath}/statics/js/jquery-3.3.1.js"></script>
    <%--<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.js"></script>--%>
    <script type="text/javascript">

        $(document).ready(function () {
            $("#abc").click(function () {
                alert(111)
            })
            $("p").click(function () {
                $(this).slideUp();
            });

        })

    </script>
</head>
<body>
<h2>${message}<%=basePath%></h2>
<button id="abc"> 测试222</button>
<p>First Paragraph</p>
<p>Second Paragraph</p>
<form action="${pageContext.request.contextPath}/sendBaidu/login">
<table align="center">
<tr>
<td>姓名：</td>
<td><input type="text" name="name"></td>
</tr>
<tr>
<td>出生地：</td>
<td><input type="text" name="address"></td>
</tr>
<tr>
<td colspan="2"><input type="submit" value="提交"></td>
</tr>
</table>
</form>

${name} ${address}
</body>
</html>
